package com.boat.starter.pulsar.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

import com.boat.starter.pulsar.constant.MQConstant;
import com.boat.starter.pulsar.constant.MQConstant.MqType;

import lombok.Data;

/**
 * Description: mq配置
 *
 * @author: zuomin (myleszelic@outlook.com)
 * @date: 2021/07/09-15:20
 */
@Data
@ConfigurationProperties(prefix = MQConstant.PREFIX)
public class MQProperties {

    private String type = MqType.PULSAR;

    private PulsarProperties pulsar;

    private PulsarProperties txPulsar;

}
